<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="utf-8">
<title>dc-web 后台管理</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="shortcut icon" href="/static/home/images/img.jpg" type="image/x-icon"/>
<link rel="stylesheet" href="/static/home/css/okadmin.css">
<link rel="stylesheet" href="/static/home/lib/loading/okLoading.css"/>
<script type="text/javascript" src="/static/home/common/js/jquery-3.4.1.min.js"></script>
<script type="text/javascript" src="/static/home/common/js/dc-ui.js"></script>
<script type="text/javascript" src="/static/home/js/okconfig.js"></script>
<script type="text/javascript" src="/static/home/lib/loading/okLoading.js"></script>
</head>
<body class="layui-layout-body">
<!-- 更换主体 Eg:orange_theme|blue_theme -->
<div class="layui-layout layui-layout-admin okadmin blue_theme">
    <!--头部导航-->
    <div class="layui-header okadmin-header">
        <ul class="layui-nav layui-layout-left">
            <li class="layui-nav-item">
                <a class="ok-menu ok-show-menu" href="javascript:" title="菜单切换">
                    <i class="layui-icon layui-icon-shrink-right"></i>
                </a>
            </li>
            <!--天气信息-->
            <li class="ok-nav-item ok-hide-md">
                <div class="weather-ok">
                    <iframe frameborder="0" scrolling="no" class="iframe-style" src="weather"></iframe>
                </div>
            </li>
        </ul>
        <ul class="layui-nav layui-layout-right">
            <!-- 全屏 -->
            <li class="layui-nav-item layui-hide-xs">
                <a id="fullScreen" class=" pr10 pl10" href="javascript:;">
                    <i class="layui-icon layui-icon-screen-full"></i>
                </a>
            </li>

            <li class="no-line layui-nav-item">
                <a href="javascript:">
                    <img th:src="${avatar}" class="layui-nav-img">
                    <span th:text="${userName}"></span>
                </a>
                <dl id="userInfo" class="layui-nav-child">
                    <dd><a lay-id="u-2" href="javascript:" data-url="">个人资料</a></dd>
                    <dd><a lay-id="u-3" href="javascript:" data-url="">修改密码</a></dd>
                    <dd>
                        <hr/>
                    </dd>
                    <dd><a href="javascript:void(0)" id="logout">退出登录</a></dd>
                </dl>
            </li>
        </ul>
    </div>
    <!--遮罩层-->
    <div class="ok-make"></div>
    <!--左侧导航区域-->
    <div class="layui-side layui-side-menu okadmin-bg-20222A ok-left">
        <div class="layui-side-scroll okadmin-side">
            <div class="okadmin-logo" th:text="${clientName}">dc-web v1.0</div>
            <div class="user-photo">
                <a class="img" title="我的头像">
                    <img th:src="${avatar}" class="userAvatar">
                </a>
                <p>你好！<span class="userName" th:text="${userName}"></span>, 欢迎登录</p>
            </div>
            <!--左侧导航菜单-->
            <ul id="navBar" class="layui-nav okadmin-nav okadmin-bg-20222A layui-nav-tree">
                <li class="layui-nav-item layui-this">
                    <a href="javascript:" lay-id="1" data-url="pages/console.html">
                        <i is-close=false class="ok-icon">&#xe654;</i>
                        控制台
                    </a>
                </li>
            </ul>
        </div>
    </div>

    <!-- 内容主体区域 -->
    <div class="content-body">
        <div class="layui-tab ok-tab" lay-filter="ok-tab" lay-allowClose="true" lay-unauto>
            <div data-id="left" id="okLeftMove"
                 class="ok-icon ok-icon-back okadmin-tabs-control move-left okNavMove"></div>
            <div data-id="right" id="okRightMove"
                 class="ok-icon ok-icon-right okadmin-tabs-control move-right okNavMove"></div>
            <div class="layui-icon okadmin-tabs-control ok-right-nav-menu" style="right: 0;">
                <ul class="okadmin-tab">
                    <li class="no-line okadmin-tab-item">
                        <div class="okadmin-link layui-icon-down" href="javascript:;"></div>
                        <dl id="tabAction" class="okadmin-tab-child layui-anim-upbit layui-anim">
                            <dd><a data-num="1" href="javascript:">关闭当前标签页</a></dd>
                            <dd><a data-num="2" href="javascript:">关闭其他标签页</a></dd>
                            <dd><a data-num="3" href="javascript:">关闭所有标签页</a></dd>
                        </dl>
                    </li>
                </ul>
            </div>

            <ul id="tabTitle" class="layui-tab-title ok-tab-title not-scroll">
                <li class="layui-this" lay-id="1" tab="index">
                    <i class="ok-icon">&#xe654;</i>
                    <cite is-close=false>控制台</cite>
                </li>
            </ul>

            <div id="tabContent" class="layui-tab-content ok-tab-content">
                <div class="layui-tab-item layui-show">
                    <iframe src='console' frameborder="0" scrolling="yes" width="100%"
                            height="100%"></iframe>
                </div>
            </div>
        </div>
    </div>

    <!--底部信息-->
    <div class="layui-footer okadmin-text-center">
         <span>Copyright
            ©<span th:text="${copyrightYear}"></span>
            <span th:text="${clientName}"></span>
            v<span th:text="${version}"></span> Provide Technical Support By
            <span th:text="${issuer}"></span>
        </span>
    </div>
</div>

<!-- 锁屏 -->
<div class="lock-screen">
    <div class="lock-bg">
        <img class="active lock-gradual" src="/static/home/images/wallpaper/9f28afe0e71b3ba8778e307bea2f006K.jpg"
             alt=""/>
        <img class="lock-gradual" src="/static/home/images/wallpaper/9f28afe0e71b3ba8778e307bea2f006d.jpg" alt=""/>
        <img class="lock-gradual" src="/static/home/images/wallpaper/29bce2d5cf30fc96866dcb5e287661ea.jpg" alt=""/>
        <img class="lock-gradual" src="/static/home/images/wallpaper/b4b55f8ec6b2763a737a2d6e1c50b71e.jpg" alt=""/>
        <img class="lock-gradual" src="/static/home/images/wallpaper/b8df65c6452dcf8b0302b8bfce9e7ec9.jpg" alt=""/>
        <img class="lock-gradual" src="/static/home/images/wallpaper/b390e4c33b7d656f09dc7fd155759a4f.jpg" alt=""/>
        <img class="lock-gradual" src="/static/home/images/wallpaper/3fded2e777723f145a4773dfdb68a9e3.jpg" alt=""/>
    </div>
    <div class="lock-content">
        <!--雪花-->
        <div class="snowflake">
            <canvas id="snowflake"></canvas>
        </div>
        <!--雪花 END-->
        <div class="time">
            <div>
                <div class="hhmmss"></div>
                <div class="yyyymmdd"></div>
            </div>
        </div>
        <div class="quit" id="lockQuit">
            <i class="layui-icon layui-icon-logout" title="退出登录"></i>
        </div>
        <table class="unlock">
            <tr>
                <td>
                    <div class="layui-form lock-form">
                        <div class="lock-head">
                            <img src="/static/home/images/avatar.png" alt="avatar.png"/>
                        </div>
                        <div class="layui-form-item">
                            <div class="layui-col-xs8 layui-col-sm8 layui-col-md8">
                                <input type="password"
                                       required
                                       lay-verify="required"
                                       id="lockPassword"
                                       name="lock_password"
                                       style="border-radius: 0;border:0;height: 44px"
                                       placeholder="默认密码123456"
                                       autocomplete="off"
                                       class="layui-input"/>
                            </div>
                            <div class="layui-col-xs4 layui-col-sm4 layui-col-md4">
                                <button style="width: 100%;box-sizing:border-box;border-radius: 0;"
                                        type="button"
                                        lay-submit
                                        lay-filter="lockSubmit"
                                        class="layui-btn lock-btn layui-btn-lg layui-btn-normal">确定
                                </button>
                            </div>
                        </div>
                    </div>
                </td>
            </tr>
        </table>
    </div>
</div>
<!--js逻辑-->
<script src="/static/home/lib/layui/layui.js"></script>
<script src="/static/home/js/snowflake.js?snowflake=雪花"></script>
<script src="/static/home/js/okadmin.js"></script>
</body>
</html>
